package cn.myjerry.map;

import java.util.ArrayList;
import java.util.List;

/**
 * 班级类(学生列表)
 * @author Jerry
 *
 */

public class ClassRoom {
	private int no;
	private List<Student> stuList;
	private double total;
	public ClassRoom() {
		stuList = new ArrayList<Student>();
	}
	public ClassRoom(int no){
		this();
		this.no = no;
	}
	public ClassRoom(int no, List<Student> stuList, double total) {
		super();
		this.no = no;
		this.stuList = stuList;
		this.total = total;
	}
	/**
	 * @return the no
	 */
	public int getNo() {
		return no;
	}
	/**
	 * @param no the no to set
	 */
	public void setNo(int no) {
		this.no = no;
	}
	/**
	 * @return the stuList
	 */
	public List<Student> getStuList() {
		return stuList;
	}
	/**
	 * @param stuList the stuList to set
	 */
	public void setStuList(List<Student> stuList) {
		this.stuList = stuList;
	}
	/**
	 * @return the total
	 */
	public double getTotal() {
		return total;
	}
	/**
	 * @param total the total to set
	 */
	public void setTotal(double total) {
		this.total = total;
	}
	
}
